/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100vh;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .ant-layout-sider {
    position: fixed !important;
    height: 100vh;
    z-index: 1000;
  }
  
  .ant-layout-content {
    margin-left: 0 !important;
  }
}

/* 表格样式优化 */
.ant-table {
  font-size: 14px;
}

.ant-table-thead > tr > th {
  background: #fafafa;
  font-weight: 600;
}

/* 表单样式优化 */
.ant-form-item-label > label {
  font-weight: 500;
}

/* 卡片样式优化 */
.ant-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ant-card-head {
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
}

/* 按钮样式优化 */
.ant-btn {
  border-radius: 6px;
}

.ant-btn-primary {
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.3);
}

/* 输入框样式优化 */
.ant-input,
.ant-input-affix-wrapper,
.ant-select-selector,
.ant-picker {
  border-radius: 6px;
}

/* 步骤条样式优化 */
.ant-steps-item-title {
  font-weight: 500;
}

/* 标签样式优化 */
.ant-tag {
  border-radius: 4px;
  font-size: 12px;
}

/* 模态框样式优化 */
.ant-modal-content {
  border-radius: 8px;
}

/* 通知样式优化 */
.ant-notification-notice {
  border-radius: 8px;
}

/* 工具提示样式优化 */
.ant-tooltip-inner {
  border-radius: 6px;
}